package com.juyu.miliao.api.constant;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import lombok.Data;

/**
 * @author pengs
 *
 */
@Component
@ConfigurationProperties("app.email-properties")
@Data
public class EmailProperties {
	
    private String username; //发送方
     
    private String password; //授权码
    
    private String host; //邮件服务
    
    private int port; //端口

	private String[] address; //接收方

	private String content; //内容

	private String  subject; //主题
	
}
